package com.pine.dcts.taskScheduling.scheduler;

import org.quartz.JobDetail;
import org.quartz.impl.JobDetailImpl;
import org.springframework.lang.Nullable;
import org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean;

/**
 * @author xiaoyuan
 * @create 2020/9/24 21:55
 **/
public class DynMethodInvokingJobDetailFactoryBean extends MethodInvokingJobDetailFactoryBean {


    @Override
    protected void postProcessJobDetail(JobDetail jobDetail) {

        super.postProcessJobDetail(jobDetail);
    }

    public JobDetailImpl getJob(){
        return (JobDetailImpl) getObject();
    }


}
